
set PYTHON_LIB_DIR=C:\Python26\Lib\site-packages

set TARGET_DIR=%PYTHON_LIB_DIR%\OpenRTM_aist\RTM_IDL

copy ExtendedDataTypes.idl %TARGET_DIR%
copy intellirobot.idl %TARGET_DIR%
cd %TARGET_DIR%


omniidl -bpython -p"%PYTHON_LIB_DIR%\omniidl_be" -I"%RTM_ROOT%\rtm\idl" intellirobot.idl
omniidl -bpython -p"%PYTHON_LIB_DIR%\omniidl_be" -I"%RTM_ROOT%\rtm\idl" ExtendedDataTypes.idl
